@layout("/common/_container.html"){
<script type="text/javascript">
<!--

//-->
$(function() {
    $("#sensitive").val($("#sensitiveValue").val());
});
</script>
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <div class="row">
                <div class="col-sm-6 b-r">
                            <#input id="id" name="主键" value="${item.id}" underline="true" disabled='true'/>
                            <#input id="configKey" name="配置key" value="${item.configKey}" underline="true" disabled='true'/>
                            <#input id="configValue" name="配置value" value="${item.configValue}" underline="true"/>
                            <#input id="configDesc" name="配置说明" value="${item.configDesc}" underline="true"/>
                            <#select id="sensitive" name="是否敏感配置" underline="true">
								<option value="0">否</option>
								<option value="1">是</option>
							</#select>
							<input id="sensitiveValue" type="hidden" value="${item.sensitive}">
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="DcConfigInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="DcConfigInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/dc/dcConfig/dcConfig_info.js"></script>
@}
